package online.flowerinsnow.minecraft.bukkit.testffa.manager;

import org.bukkit.configuration.ConfigurationSection;

public enum ConfigManager {
    SQL_IP("sql.ip"),
    SQL_PORT("sql.port"),
    SQL_USER("sql.user"),
    SQL_PASSWORD("sql.password");
    public final String key;

    ConfigManager(String key) {
        this.key = key;
    }

    public String getString() {
        return config.getString(key);
    }
    public int getInt() {
        return config.getInt(key);
    }

    public static ConfigurationSection config;
}
